<?php
class ArticleModel extends Model {
	protected $_auto = array ( 
		array('createtime','getFormatTime',1,'function'), 
	);
		
	protected $_validate         =         array(
		array('title','require','标题必须填写'),
		array('type_id','number','请选择分类'),	
	);
}